Solarbank 2 Output Power target control#27
Conversation
- Exposes SolixBLE set_schedule(power_w) flip-dots/SolixBLE#36 as a user-facing control. - Number entity (0-800 W, 10 W step, slider) stages the target value; - Apply button to commit it to the device. - Last value restored across HA restarts via RestoreEntity. - Library errors surface as HomeAssistantError so they show as UI notifications. - No Version increment yet -> Maintainer - Add Solarbank 2 to README supported devices list - Added unit tests
|
Damn awesome work, I dont have the time at the moment to properly review it and do a release as I still have a few weeks of exams left but I will sort it out as soon as I can, sorry :( |
|
Thanks :-) I wanted to look into Smartmeter mode to mitigate this memory topic, but currently I'm super busy as well and I've spent way too much time on this project for this year :D |
|
@jul1an-s Consider changing the slider from 0-800W to 0-1000W because the device is technically capable of exporting up to 1000W which can be used when living in france. Is it also possible to set the region/limit to 1000W via bluetooth? |
|
@chkr1011 Thanks for the hint, I'll change the max slider value when I get back to work on this 👍 Yes it is possible. I think you are looking for this function: https://github.com/jul1an-s/SolixBLE/blob/0b9b1073c056f6c7042a3116141c0be4f262ddbe/SolixBLE/devices/solarbank2.py#L359 But it is not exposed in HA yet. |
|
Great, is it possible to export this in Home Assistant as well? Otherwise I cannot set it to 1000W. |
This allows setting the Grid output target power from HA:
Added:
Bugfix
Tests
Pytest
75 passed (100%)
Manual
Controls show up in HA, I can control the Device from the Dashboard 🎉
Version increment
Not done yet, release decision is up to @flip-dots